<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8"%>
<%@page isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title></title>
    <link rel="stylesheet" href="../css/pintuer.css">
    <link rel="stylesheet" href="../css/admin.css">
    <script src="../js/jquery.js"></script>
    <script src="../js/pintuer.js"></script>
</head>
<body>
<div class="panel admin-panel">
    <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>增加员工</strong></div>

    <form method="post" class="form-x" action="WorkersServlet?flag=2">

        <div class="form-group">
            <div class="label">
                <label>员工姓名：</label>
            </div>
            <div class="field">
                <input type="text" class="input w50" value="" name="uName" data-validate="required:请输入员工姓名" />
                <div class="tips"></div>
            </div>
        </div>

        <div class="form-group">
            <div class="label">
                <label>密码：</label>
            </div>
            <div class="field">
                <input type="text" class="input w50" value="" name="password"  />
                <div class="tips"></div>
            </div>
        </div>

        <div class="form-group">
            <div class="label">
                <label>员工性别：</label>
            </div>


            <div class="field">
                <div class="button-group radio">

                    <label class="button active">
                        <span class="icon icon-check"></span>
                        <input name="sex" value="男" type="radio" checked="checked">男
                    </label>

                    <label class="button active">
                        <span class="icon icon-times"></span>
                        <input name="sex" value="女" type="radio" >女
                    </label>

                </div>
            </div>
        </div>

        <div class="form-group">
            <div class="label">
                <label>联系电话：</label>
            </div>
            <div class="field">
                <input type="text" class="input w50" value="" name="telephone" data-validate="required:" />
                <div class="tips"></div>
            </div>
        </div>

        <div class="form-group">
            <div class="label">
                <label>职位：</label>
            </div>
            <div class="field">
                <input type="text" class="input w50" value="" name="job" data-validate="required:请输入工作日期" />
                <div class="tips"></div>
            </div>
        </div>

        <div class="form-group">
            <div class="label">
                <label>所属部门：</label>
            </div>
            <li>
                <select name="cid" id="leixing" class="input" style="width:200px; line-height:17px;" >
                    <c:forEach items="${dptNames}" var="dptName">
                        <option value="${dptName.id}">${dptName.dptName}</option>
                    </c:forEach>
                </select>
            </li>
        </div>



        <div class="label">
            <label></label>
        </div>
        <div class="field">
            <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
        </div>


    </form>
</div>
</div>

</body></html>
